<?php
class Unit extends AppModel{

	var $name = 'Unit';
	var $actsAs = array('Containable');

	var $belongsTo = array(	'Cidade' => array('classname'  => 'Cidade'),
						'Organization' => array('classname'  => 'Organization'));

	var $hasAndBelongsToMany = array('User' =>
									array(	'className' => 'User',
											'joinTable' => 'units_users'));

	var $hasMany = array('Assistido' => array('classname' => 'Assistido'));

}
